You searched for: “vel procedendum ad similia
Ubi non est directa lex, standum est arbitrio judicis, vel procedendum ad similia. (Latin legal statement)
Translated: "Where there is no direct law, the opinion of the judge is to be taken, or references to be made to similar cases."